// 新闻配置
export class AddNews_Rules {
  constructor() {
    this.title = [
      { required: true, message: '请输入新闻标题', trigger: 'blur' }
    ];
    this.newsTypeId = [
      { required: true, message: '请选择新闻类型', trigger: 'change' }
    ];
    this.author = [
      { required: true, message: '请输入新闻作者', trigger: 'blur' }
    ];
    this.description = [
      { required: true, message: '请输入新闻内容', trigger: 'blur' }
    ];
    this.coverImage = [
      { required: true, message: '请选择封面图片', trigger: 'change' }
    ];
  }
}
export class AddNewsType_Rules {
  constructor() {
    this.name = [
      { required: true, message: '请输入新闻标题', trigger: 'blur' }
    ];
  }
}
